import { View, Text } from "react-native";
function Test(props) {
  return (
    <View>
      <Text>我的名字：{props.name}，今年：{props.age} 岁</Text>
    </View>
  )
}
export default function App() {
  return (
    <View
      style={{
        flex: 1,
        justifyContent: "center",
        alignItems: "center",
      }}
    >
      <Test name="ganzhibin" age="20"> </Test>
    </View>
  );
}
